package cn.lingyangwl.agile.system.model.rqrs.role;

import cn.lingyangwl.agile.model.constants.ValidationCons;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "创建角色")
public class RoleSaveReq extends RoleBase {
    @ApiModelProperty(value = "角色编码")
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String roleCode;
}
